package custom.base.http.data;

/**
 * Created by cubebox on 2017/7/25.
 */

public interface NetCode extends BaseNetCode {
    /**
     * token超时请重新请求
     */
    int TOKEN_TIME_OUT = 100;
    /**
     * 签名验证失败
     */
    int SIGN_VERIFY_FAIL = 101;
    /**
     * 请用ajax访问
     */
    int MUST_USE_AJAX_REQUEST = 102;
    /**
     * token无效
     */
    int TOKAN_INVALID = 103;
    /**
     * 缺少token参数
     */
    int LACK_TOKEN = 104;
    /**
     * token错误验证失败
     */
    int TOKEN_VERIFY_FAIL = 105;
    /**
     * 无权限访问
     */
    int DONT_HAVE_AUTH = 108;
    /**
     * 时间验证不正确
     */
    int TIME_FAIL = 109;
    /**
     * 用户id为空
     */
    int USER_ID_EMPTY = 10009;
    /**
     * 账户不存在
     */
    int ACCOUNT_NOT_EXIST = 10004;

    /**
     * 非法访问
     */
    int ILLEGALITY_REQUEST = 80004;
    /**
     * 系统错误，请稍后再试
     */
    int SYSTEM_ERROR = 500;
}
